﻿@model OrderModel.AddOrderProductModel.GiftCardModel
@if (Model.IsGiftCard)
{
    <div class="form-group">
        <div class="form-group">
            <admin-label asp-for="RecipientName" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="RecipientName" />
            </div>
        </div>
        <div class="form-group">
            @if (Model.GiftCardType == Grand.Domain.Catalog.GiftCardType.Virtual)
            {
                <admin-label asp-for="RecipientEmail" />
                <div class="col-md-9 col-sm-9">
                    <admin-input asp-for="RecipientEmail" />
                </div>
            }
        </div>
        <div class="form-group">
            <admin-label asp-for="SenderName" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="SenderName" />
            </div>
        </div>
        <div class="form-group">
            @if (Model.GiftCardType == Grand.Domain.Catalog.GiftCardType.Virtual)
            {
                <admin-label asp-for="SenderEmail" />
                <div class="col-md-9 col-sm-9">
                    <admin-input asp-for="SenderEmail" />
                </div>
            }
        </div>
        <div class="form-group">
            <admin-label asp-for="Message" />
            <div class="col-md-9 col-sm-9">
                <admin-textarea asp-for="Message"></admin-textarea>
            </div>
        </div>
    </div>
}